II Chronicles 26:2 Midrash

ה֚וּא בָּנָ֣ה אֶת־אֵיל֔וֹת וַיְשִׁיבֶ֖הָ לִֽיהוּדָ֑ה אַחֲרֵ֥י שְׁכַֽב־הַמֶּ֖לֶךְ עִם־אֲבֹתָֽיו׃ (פ)

He built Eloth, and restored it to Judah, after that the king slept with his fathers.

Read midrashic interpretation of II Chronicles 26:2: and classical rabbinic exegesis.